/**
 * 
 */
package edu.ou.cs.youming.jaxb.types;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Youming Lin
 * 
 */
@XmlRootElement(name = "user")
public final class User {
	@XmlElement(name = "id")
	public long id;

	@XmlElement(name = "id_str")
	public String id_str;

	@XmlElement(name = "name")
	public String name;

	@XmlElement(name = "screen_name")
	public String screen_name;

	@XmlElement(name = "location")
	public String location;

	@XmlElement(name = "url", nillable = true)
	public String url;

	@XmlElement(name = "description")
	public String description;

	@XmlElement(name = "_protected")
	public boolean _protected;

	@XmlElement(name = "followers_count")
	public int followers_count;

	@XmlElement(name = "friends_count")
	public int friends_count;

	@XmlElement(name = "listed_count")
	public int listed_count;

	@XmlElement(name = "created_at")
	public String created_at;

	@XmlElement(name = "favourites_count")
	public int favourites_count;

	@XmlElement(name = "utc_offset", nillable = true)
	public String utc_offset;

	@XmlElement(name = "time_zone", nillable = true)
	public String time_zone;

	@XmlElement(name = "geo_enabled")
	public String geo_enabled;

	@XmlElement(name = "verified")
	public boolean verified;

	@XmlElement(name = "statuses_count")
	public int statuses_count;

	@XmlElement(name = "lang")
	public String lang;

	@XmlElement(name = "contributors_enabled")
	public boolean contributors_enabled;

	@XmlElement(name = "is_translator")
	public boolean is_translator;

	@XmlElement(name = "profile_background_color")
	public String profile_background_color;

	@XmlElement(name = "profile_background_image_url")
	public String profile_background_image_url;

	@XmlElement(name = "profile_background_image_url_https")
	public String profile_background_image_url_https;

	@XmlElement(name = "profile_background_tile")
	public boolean profile_background_tile;

	@XmlElement(name = "profile_image_url")
	public String profile_image_url;

	@XmlElement(name = "profile_image_url_https")
	public String profile_image_url_https;

	@XmlElement(name = "profile_link_color")
	public String profile_link_color;

	@XmlElement(name = "profile_sidebar_boder_color")
	public String profile_sidebar_boder_color;

	@XmlElement(name = "profile_sidebar_fill_color")
	public String profile_sidebar_fill_color;

	@XmlElement(name = "profile_text_color")
	public String profile_text_color;

	@XmlElement(name = "profile_use_background_image")
	public boolean profile_use_background_image;

	@XmlElement(name = "show_all_inline_media")
	public boolean show_all_inline_media;

	@XmlElement(name = "default_profile")
	public boolean default_profile;

	@XmlElement(name = "default_profile_image")
	public boolean default_profile_image;

	@XmlElement(name = "following", nillable = true)
	public String following;

	@XmlElement(name = "follow_request_sent", nillable = true)
	public String follow_request_sent;

	@XmlElement(name = "notifications", nillable = true)
	public String notifications;

	@Override
	public String toString() {
		return "User [id=" + id + ", id_str=" + id_str + ", name=" + name + ", screen_name=" + screen_name
				+ ", location=" + location + ", url=" + url + ", description=" + description + ", _protected="
				+ _protected + ", followers_count=" + followers_count + ", friends_count=" + friends_count
				+ ", listed_count=" + listed_count + ", created_at=" + created_at + ", favourites_count="
				+ favourites_count + ", utc_offset=" + utc_offset + ", time_zone=" + time_zone + ", geo_enabled="
				+ geo_enabled + ", verified=" + verified + ", statuses_count=" + statuses_count + ", lang=" + lang
				+ ", contributors_enabled=" + contributors_enabled + ", is_translator=" + is_translator
				+ ", profile_background_color=" + profile_background_color + ", profile_background_image_url="
				+ profile_background_image_url + ", profile_background_image_url_https="
				+ profile_background_image_url_https + ", profile_background_tile=" + profile_background_tile
				+ ", profile_image_url=" + profile_image_url + ", profile_image_url_https=" + profile_image_url_https
				+ ", profile_link_color=" + profile_link_color + ", profile_sidebar_boder_color="
				+ profile_sidebar_boder_color + ", profile_sidebar_fill_color=" + profile_sidebar_fill_color
				+ ", profile_text_color=" + profile_text_color + ", profile_use_background_image="
				+ profile_use_background_image + ", show_all_inline_media=" + show_all_inline_media
				+ ", default_profile=" + default_profile + ", default_profile_image=" + default_profile_image
				+ ", following=" + following + ", follow_request_sent=" + follow_request_sent + ", notifications="
				+ notifications + "]";
	}
}